package com.harmontronics.hanma.paas.paas.service;

import com.harmontronics.hanma.paas.paas.common.PageBase;
import com.harmontronics.hanma.paas.paas.domain.iam.entity.GroupMemberUser;
import com.harmontronics.hanma.paas.paas.domain.iam.entity.HmUserGroupMember;
import com.harmontronics.hanma.paas.paas.domain.iam.repository.po.HmUserGroupMemberPO;
import java.util.List;

public interface IHmUserGroupMemberService {

    void remove(Long id);

    List<HmUserGroupMember> getList();

    PageBase<HmUserGroupMember> getList(int pageNo,int pageSize);

    void create(List<HmUserGroupMember> userGroupMemberList);

    List<HmUserGroupMemberPO> selectUnDelected();

    List<HmUserGroupMemberPO> selectGroupMemberWithUserId(Long userId, Long groupId);

    List<Long> selectGroupWithUserId(Long userId);

    void delete(Long unionId, Long userGroupId, Integer isOrg);

    List<GroupMemberUser> selectGroupMemberWithGroupId(Long groupId);

}
